using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Package._SceneLayers
{
    /// <summary>
    /// <para>Validate Scene Layer</para>
    /// <para>Evaluates a scene layer package file (*.slpk) to determine its conformity to I3S specification.</para>
    /// <para>评估场景图层包文件 （*.slpk） 以确定其是否符合 I3S 规范。</para>
    /// </summary>    
    [DisplayName("Validate Scene Layer")]
    public class ValidateSceneLayerPackage : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ValidateSceneLayerPackage()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_slpk">
        /// <para>Input Scene Layer</para>
        /// <para>The scene layer package file that will be evaluated.</para>
        /// <para>将要评估的场景图层包文件。</para>
        /// </param>
        /// <param name="_out_report">
        /// <para>Output Log File</para>
        /// <para>The output log file that will summarize the results of the evaluation.</para>
        /// <para>将汇总评估结果的输出日志文件。</para>
        /// </param>
        public ValidateSceneLayerPackage(object _in_slpk, object _out_report)
        {
            this._in_slpk = _in_slpk;
            this._out_report = _out_report;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Validate Scene Layer";

        public override string CallName => "management.ValidateSceneLayerPackage";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_slpk, _out_report];

        /// <summary>
        /// <para>Input Scene Layer</para>
        /// <para>The scene layer package file that will be evaluated.</para>
        /// <para>将要评估的场景图层包文件。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Scene Layer")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_slpk { get; set; }


        /// <summary>
        /// <para>Output Log File</para>
        /// <para>The output log file that will summarize the results of the evaluation.</para>
        /// <para>将汇总评估结果的输出日志文件。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Log File")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_report { get; set; }


        public ValidateSceneLayerPackage SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}